package com.dyrj.jzb.po;


import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * KFEJZB6110	查询银行单笔交易状态	SingleTransactionStatusQuery
 * 查询单笔交易的状态
 */
public class Po6110SingleTransactionStatusQuery extends PoBase{

    //资金汇总账号
    private String FundSummaryAcctNo;
    //功能标志 2：会员间交易 3：提现 4：充值
    private String FunctionFlag;
    //交易网流水号 提现，充值或会员交易请求时的CnsmrSeqNo值
    private String TranNetSeqNo;
    //见证子帐户的帐号
    private String SubAcctNo;
    //交易日期
    private String TranDate;
    //保留域
    private String ReservedMsg;

    //输出  记账标志 记账标志（1：登记挂账 2：支付 3：提现 4：清分5:下单预支付 6：确认并付款 7：退款 8：支付到平台 N:其他）
    private String BookingFlag;
    //输出  交易状态 （0：成功，1：失败，2：待确认, 5：待处理，6：处理中）
    private String TranStatus;
    //输出  交易金额
    private String TranAmt;
    //输出  交易日期
//    private String TranDate;
    //输出  交易时间
    private String TranTime;
    //输出  转入子账户账号
    private String InSubAcctNo;
    //输出  转出子账户账号
    private String OutSubAcctNo;
    //输出  失败信息 当提现失败时，返回交易失败原因
    private String FailMsg;
    //输出  原交易前置流水号
    private String OldTranFrontSeqNo;

    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("FunctionFlag",this.getFunctionFlag());
        paraKeyDict.put("TranNetSeqNo",this.getTranNetSeqNo());
        paraKeyDict.put("SubAcctNo",this.getSubAcctNo());
        paraKeyDict.put("TranDate",this.getTranDate());
        paraKeyDict.put("ReservedMsg",this.getReservedMsg());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getFunctionFlag() {
        return FunctionFlag;
    }

    public void setFunctionFlag(String functionFlag) {
        FunctionFlag = functionFlag;
    }

    public String getTranNetSeqNo() {
        return TranNetSeqNo;
    }

    public void setTranNetSeqNo(String tranNetSeqNo) {
        TranNetSeqNo = tranNetSeqNo;
    }

    public String getSubAcctNo() {
        return SubAcctNo;
    }

    public void setSubAcctNo(String subAcctNo) {
        SubAcctNo = subAcctNo;
    }

    public String getTranDate() {
        return TranDate;
    }

    public void setTranDate(String tranDate) {
        TranDate = tranDate;
    }

    public String getReservedMsg() {
        return ReservedMsg;
    }

    public void setReservedMsg(String reservedMsg) {
        ReservedMsg = reservedMsg;
    }

    public String getBookingFlag() {
        return BookingFlag;
    }

    public void setBookingFlag(String bookingFlag) {
        BookingFlag = bookingFlag;
    }

    public String getTranStatus() {
        return TranStatus;
    }

    public void setTranStatus(String tranStatus) {
        TranStatus = tranStatus;
    }

    public String getTranAmt() {
        return TranAmt;
    }

    public void setTranAmt(String tranAmt) {
        TranAmt = tranAmt;
    }

    public String getTranTime() {
        return TranTime;
    }

    public void setTranTime(String tranTime) {
        TranTime = tranTime;
    }

    public String getInSubAcctNo() {
        return InSubAcctNo;
    }

    public void setInSubAcctNo(String inSubAcctNo) {
        InSubAcctNo = inSubAcctNo;
    }

    public String getOutSubAcctNo() {
        return OutSubAcctNo;
    }

    public void setOutSubAcctNo(String outSubAcctNo) {
        OutSubAcctNo = outSubAcctNo;
    }

    public String getFailMsg() {
        return FailMsg;
    }

    public void setFailMsg(String failMsg) {
        FailMsg = failMsg;
    }

    public String getOldTranFrontSeqNo() {
        return OldTranFrontSeqNo;
    }

    public void setOldTranFrontSeqNo(String oldTranFrontSeqNo) {
        OldTranFrontSeqNo = oldTranFrontSeqNo;
    }
}
